<?php

namespace app\common\constant\driving;

/**
 * 司机常量类
 */
class DriverConstant
{

    // 状态:normal=正常,frozen=禁用
    const STATUS_1 = 'normal';
    const STATUS_0 = 'frozen';

    public static function get_status_list()
    {
        return [
            self::STATUS_1 => '正常',
            self::STATUS_0 => '禁用',
        ];
    }

    // 在线状态:0=下线,1=在线
    const ONLINE_0 = '0';
    const ONLINE_1 = '1';

    public static function get_is_online_list()
    {
        return [
            self::ONLINE_0 => '下线',
            self::ONLINE_1 => '在线',
        ];
    }
}
